﻿using System;

namespace CompactMapper.Orm.Extensions
{
    internal static class StringExtensions
    {
        public static void ThrowIfNullOrEmpty(this string str, String strName)
        {
            if (String.IsNullOrEmpty(str))
            {
                throw new ArgumentException("is null or empty", strName);
            }
        }
    }
}